package com.zmsk.zmio.handler;

import android.content.Context;
import android.util.Log;

import com.zmsk.zmio.inter.IIOHandler;
import com.android.softwinner.Gpio;

public class Unwin328Handler implements IIOHandler {

    private static final String TAG = "ZX328";
    @Override
    public void initIOControl(Context context) {

    }

    @Override
    public void stopIOControl(Context context) {

    }

    @Override
    public void noticeGateOpen(Context context, String idNumber) {
        Gpio.writeGpio("gpio7_b5",1);
    }

    @Override
    public void noticeGateClose(Context context) {
        Gpio.writeGpio("gpio7_b5",0);
    }

    @Override
    public void noticeWhiteLedOn(Context context) {

    }

    @Override
    public void noticeWhiteLedOff(Context context) {

    }

    @Override
    public void noticeInfraredLedOn(Context context) {

    }

    @Override
    public void noticeInfraredLedOff(Context context) {

    }

    @Override
    public void noticeRedLedOn(Context context) {

    }

    @Override
    public void noticeRedLedOff(Context context) {

    }

    @Override
    public void noticeGreenLedOn(Context context) {

    }

    @Override
    public void noticeGreenLedOff(Context context) {

    }

    @Override
    public void handleSlientInstall(String path) {

    }
}
